import {get,post} from "../utils/http.js"
const getcode=params=>get('students/sendcode',params)
const gologins =data=>post('students/mobileLogin',data)
const getreservelist = data =>get('reserve/list',data)
const addreservelist = data =>post('reserve/update',data)
const getcourse =data=>get('courses/list',data)
const getleavelist =data=>get('leave/list',data)
const addleavelist =data=>post('leave/add',data)
const getstudentsconsume =data=>get('students/consume',data)
export {
	getcode,
	gologins,
	getreservelist,
	getcourse,
	getleavelist,
	addleavelist,
	addreservelist,
	getstudentsconsume
}